package cl.xintec.utils
{
    import mx.controls.Label;
    import mx.controls.listClasses.*;

    public class FolioLabel extends Label{

        private const POSITIVE_COLOR:uint = 0x000000; // Black
        private const NEGATIVE_COLOR:uint = 0xFF0000; // Red 

        override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void {
            super.updateDisplayList(unscaledWidth, unscaledHeight);

            /* Set the font color based on the item price. */


	            if (data.cestado==1){
	              setStyle("fontSize", 13);
				  setStyle("fontWeight", "bold");
				  this.toolTip= data.cevaluacion;
	            }
	            else{  
	              setStyle("fontSize", 10);
				  setStyle("fontWeight", "normal");
	            }

        }
    }
}
// ActionScript file
